
package jnpf.property.service;

import com.baomidou.mybatisplus.extension.service.IService;
import jnpf.property.entity.ZcglPropertyRepairEntity;
import jnpf.property.entity.ZcglPropertyRepairItemEntity;
import jnpf.property.model.zcglpropertyrepair.ZcglPropertyRepairForm;
import jnpf.property.model.zcglpropertyrepair.ZcglPropertyRepairPagination;

import java.util.List;

/**
 *
 * ZcglPropertyRepair
 * 版本： V3.2.0
 * 版权： 智果云科技（https://www.jnpfsoft.com）
 * 作者： JNPF开发平台组
 * 日期： 2024-11-14
 */
public interface ZcglPropertyRepairService extends IService<ZcglPropertyRepairEntity> {


    List<ZcglPropertyRepairEntity> getList(ZcglPropertyRepairPagination zcglPropertyRepairPagination);

    List<ZcglPropertyRepairEntity> getTypeList(ZcglPropertyRepairPagination zcglPropertyRepairPagination,String dataType);


    ZcglPropertyRepairEntity getInfo(String id);

    void delete(ZcglPropertyRepairEntity entity);

    void create(ZcglPropertyRepairEntity entity);

    boolean update(String id, ZcglPropertyRepairEntity entity);

//  子表方法
     List<ZcglPropertyRepairItemEntity> getZcglPropertyRepairItemList(String id, ZcglPropertyRepairPagination zcglPropertyRepairPagination);
        List<ZcglPropertyRepairItemEntity> getZcglPropertyRepairItemList(String id);

    //列表子表数据方法

    //验证表单
    boolean checkForm(ZcglPropertyRepairForm form, int i);
}
